package com.lagou.rpc.consumer.bean;

import lombok.*;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
public class ServiceProvider {

    private String ip;
    private int port;

    public String print() {
        return ip + ":" + port;
    }

}
